CXX = g++
CXXFLAGS = -Wall -g
LD = g++
LDLIBS = -lpthread

OBJS = tokenizer.o connect_utilities.o main.o 
EXEC = partition_manager


all: partition_manager

$(EXEC): $(OBJS)
	$(LD) -o $@ $(OBJS) $(LDLIBS)

%.o: %.cpp
	$(CXX) $< -c -o $@ $(CXXFLAGS) 

tokenizer.o: tokenizer.h

connect_utilities.o: global_data.h connect_utilities.h

main.o: global_data.h connect_utilities.h tokenizer.h


clean:
	rm -rf $(OBJS) $(EXEC)